﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:layoutToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"
    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
    xmlns:UserControls="clr-namespace:Spenta.StreetCare.Silverlight.UserControls" x:Class="Spenta.StreetCare.Silverlight.UserControls.ToolbarUserControl"
    mc:Ignorable="d" d:DesignHeight="345" d:DesignWidth="260" Height="Auto" Width="260">
    
    <Grid x:Name="LayoutRoot" Style="{StaticResource ToolbarGrid}">
        <layoutToolkit:Accordion HorizontalAlignment="Stretch" BorderThickness="0" Margin="8,0,0,0">
            <layoutToolkit:AccordionItem Style="{StaticResource AccordionItemStyle}" Template="{StaticResource AccordionItemTemplate}">
                <layoutToolkit:AccordionItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Grid Height="26" Width="30" Margin="0,0,15,0">
                            <ContentControl Template="{StaticResource StatusReportToolBarIcon}" />
                        </Grid>
                        <dataInput:Label Content="{Binding Literals.ReportsByStatus}" VerticalAlignment="Center"/>
                    </StackPanel>
                </layoutToolkit:AccordionItem.Header>
                <UserControls:FilterByStatusUserControl/>
            </layoutToolkit:AccordionItem>
            <layoutToolkit:AccordionItem Style="{StaticResource AccordionItemStyle}" Template="{StaticResource AccordionItemTemplate}">
                <layoutToolkit:AccordionItem.Header>
                    <StackPanel Orientation="Horizontal">
                    	<Grid Height="22" Width="15" Margin="10,0,19,0">
                          <ContentControl Template="{StaticResource CategoryReportToolBarIcon}" />                         
                    	</Grid>
                        <dataInput:Label Content="{Binding Literals.ReportsByCategory}" VerticalAlignment="Center"/>
                    </StackPanel>
                </layoutToolkit:AccordionItem.Header>
                <UserControls:FilterByCategoryUserControl/>
            </layoutToolkit:AccordionItem>
        </layoutToolkit:Accordion>
    </Grid>
</UserControl>
